﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using DevExpress.Office.Utils;
//using EFRepository;
using EFService;


namespace EFDemo.Controllers
{
    public class HomeController : Controller
    {
        public const int PageSize = 10;
        public int CurrentPage = 0;
        public bool ASC = false;
        public ActionResult Index()
        {
            ViewBag.Message = "Welcome to DevExpress Extensions for ASP.NET MVC!";



            TVBOProjectProgramService t = new TVBOProjectProgramService();
            //List<TVBOProjectProgramDTO> list = t.GetMainDataSource(CurrentPage * PageSize, PageSize, "MediaCode", ASC);
            //int count = t.Count;

            return View();
        }
    }
}
